package xyz.csmcool.imroom.feignclient;

import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;
import xyz.csmcool.imutil.utils.ResultTool;
import xyz.csmcool.imutil.webVo.ResultCode;
import xyz.csmcool.imutil.webVo.ResultVo;

/**
 * @author 什锦
 * @Package xyz.csmcool.imroom.feignclient
 * @since 2022/8/8 0:13
 */

@Component
public class OssFileDegradeFeignClient implements OssClint{
    @Override
    public ResultVo uploadRoomFile(MultipartFile multipartFile) {
        return ResultTool.fail(ResultCode.CUSTOM_FAIL.setMessage("上传视频出错了"));
    }
}
